CloseWindow
CloseWindow removes a window from the screen, removes it from the window list, and discards its data storage except for the WindowRecord.
Notes: Use CloseWindow if you allocated the storage for the WindowRecord manually; i.e., if you used a non-NIL wStorage in the previous call to
instead.